package com.ruibang.glass.sale.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


@Data
@ApiModel
@TableName(value = "g_sale_order_goods")
public class GSaleOrderProduct extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "Id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "税率")
    private String taxRate;
    @ApiModelProperty(value = "订单Id")
    private String orderId;
    @ApiModelProperty(value = "商品Id")
    private String productId;
    @ApiModelProperty(value = "商品名称")
    private String productName;
    @ApiModelProperty(value = "产品类别")
    private String productCategory;
    @ApiModelProperty(value = "执行标准")
    private String executionStandard;
    @ApiModelProperty(value = "产品规格")
    private String productSpecification;
    @ApiModelProperty(value = "品级")
    private String grade;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "订单数量")
    private BigDecimal orderQuantity;
    @ApiModelProperty(value = "单价（含税）")
    private BigDecimal grossUnitPrice;
    @ApiModelProperty(value = "金额（含税）")
    private BigDecimal grossAmount;
    @ApiModelProperty(value = "单价（未税）")
    private BigDecimal netUnitPrice;
    @ApiModelProperty(value = "金额（未税）")
    private BigDecimal netAmount;
    @ApiModelProperty(value = "其他加价")
    private String otherMarkup;
    @ApiModelProperty(value = "批量优惠价")
    private String bulkDiscountPrice;
    @ApiModelProperty(value = "收货单位")
    private String consigneeUnit;
    @ApiModelProperty(value = "收货地址")
    private String consigneeAddress;
    @ApiModelProperty(value = "销售省份")
    private String salesProvince;
    @ApiModelProperty(value = "销售城市")
    private String salesCity;

    @ApiModelProperty(value = "销售城市名称")
    private String salesCityName;

    @ApiModelProperty(value = "运输方式")
    private String transportMethod;
    @ApiModelProperty(value = "运输金额")
    private String transportAmount;
    @ApiModelProperty(value = "总额（含税）")
    private BigDecimal totalAmount;
    @ApiModelProperty(value = "总额（未税）")
    private BigDecimal netTotalAmount;
    @ApiModelProperty(value = "税额")
    private BigDecimal taxAmount;
    @ApiModelProperty(value = "备注")
    private String remark;



}
